answer file "Choose a file to set Modification Date:"
if it = "" then exit mouseup
setModDate it,newModDate
answer "Modification date set to" && moddate & "."
end mouseUp
-- part contents for card part 3
----- text -----
GetModDate takes one parameter, the pathname of the file to examine. It returns the time in seconds which can be converted to a date. SetModDate takes two parameters, the pathname of the file to work on, and the datetime in seconds.
Click on and/or examine the scripts of the buttons above to see how they work!
This external is free for purely personal use. A license fee of $10.00 is required if you use this external in any “in-house” corporate, shareware or freeware products. The license fee for unlimited commercial use in a SINGLE “for sale” product is $25.00. The license fee for unlimited commercial use with MULTIPLE products is $100.00.
Permission is hereby granted to all groups who distribute demo software, either for profit (such as EduCorp) or not for profit (such as a Macintosh Users Group), to include this file in their collection. My goal is to get as much exposure for my products as possible, and I believe that these groups offer an invaluable service to shareware publishers like myself.
If you have questions or comments we can be reached through the following: